/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package managerPeer;

/**
 *
 * @author DongVan
 */
public class Node {
    private int m_ID;
    private String m_IdAddress;
    private int m_Port;

    public int getM_ID() {
        return m_ID;
    }

    public void setM_ID(int m_ID) {
        this.m_ID = m_ID;
    }

    public String getM_IdAddress() {
        return m_IdAddress;
    }

    public void setM_IdAddress(String m_IdAddress) {
        this.m_IdAddress = m_IdAddress;
    }

    public int getM_Port() {
        return m_Port;
    }

    public void setM_Port(int m_Port) {
        this.m_Port = m_Port;
    }
    
    public String pcInformation(){
        return String.valueOf(this.m_ID) + "__" +this.m_IdAddress +"__"+ this.m_Port;
    }

    
    
    public void Node(){
    
    }
    
    public void Node(int id, String ipAddress, int port){
        this.m_ID = id;
        this.m_IdAddress = ipAddress;
        this.m_Port = port;
    }
}
